package net.learn.system.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.learn.framework.common.dao.BaseDao;
import net.learn.system.entity.SysAboutEntity;
import net.learn.system.entity.SysSubjectEntity;
import net.learn.system.query.SysSubjectQuery;
import net.learn.system.vo.SysSubjectVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 学科管理
*/
@Mapper
public interface SysSubjectDao extends BaseDao<SysSubjectEntity> {

    IPage<SysSubjectEntity> qrySubjectListPage(IPage<SysSubjectEntity> page, @Param("SysSubjectQuery") SysSubjectQuery qry);

    List<SysSubjectVO> qrySubjectListArray(@Param("SysSubjectQuery") SysSubjectQuery qry);
}